<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Building Game</title>
<script type="text/javascript" src="http://webapi.amap.com/maps?v=1.3&key=57d25f3a0539f5714d72123a8b183ae3"></script>
</head>
<body>
	<div id="mapDiv">
	</div>
</body>
<style>
#mapDiv {
	width: 400px;
	height: 300px;
}
</style>
<script type="text/javascript" src="amap.BuildingGame.js"></script>
<script type="text/javascript">
// example:
var mapObj = new AMap.Map(document.getElementById('mapDiv'), {
	zoom: 10
});
var game = new BuildingGame({
	map: mapObj,
	zIndex: 999,
	pointSize: 10,
	verticalNum: 12,
	horizontalNum: 8,
	startX: 30,
	startY: 20,
	scoreWidth: 80,
});
</script>
</html>